EasyTCPSocket.WaitForMessage Function

Wait for a message identified by the value of Command. Returns a String, containing the message text.

Syntax

result = EasyTCPSocket.WaitForMessage( Command, Timeout )

Parameters

Command

Integer

Timeout

Integer

Return Value

Result

String

Notes

Timeout is the amount of time in seconds that the socket will wait for a message before stopping.